<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Create new xmlwriter using source uri for output</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.xmlwriter-open-memory.html">XMLWriter::openMemory</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.xmlwriter-output-memory.html">XMLWriter::outputMemory</a></div>
 <div class="up"><a href="ref.xmlwriter.html">XMLWriter 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.xmlwriter-open-uri" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">XMLWriter::openURI</h1>
  <h1 class="refname">xmlwriter_open_uri</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.1.2, PECL xmlwriter &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">XMLWriter::openURI</span> -- <span class="refname">xmlwriter_open_uri</span> &mdash; <span class="dc-title">Create new xmlwriter using source uri for output</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.xmlwriter-open-uri-description">
  <h3 class="title">说明</h3>
  <p class="para">面向对象风格</p>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>XMLWriter::openURI</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$uri</code></span>
   )</div>

  <p class="para rdfs-comment">过程化风格</p>
  <div class="methodsynopsis dc-description">
   <span class="type">resource</span> <span class="methodname"><strong>xmlwriter_open_uri</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$uri</code></span>
   )</div>

  <p class="para rdfs-comment">
   Creates a new <strong class="classname">XMLWriter</strong> using 
   <em><code class="parameter">uri</code></em> for the output.  
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.xmlwriter-open-uri-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">uri</code></em></dt>

     <dd>

      <p class="para">
       The URI of the resource for the output.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.xmlwriter-open-uri-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   面向对象风格: 成功时返回 <strong><code>TRUE</code></strong>， 或者在失败时返回 <strong><code>FALSE</code></strong>。
  </p>
  <p class="para">
   过程化风格: Returns a new xmlwriter <a href="language.types.resource.html" class="link">资源(resource)</a> for later use with the
   xmlwriter functions on success, <strong><code>FALSE</code></strong> on error.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.xmlwriter-open-uri-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="methodname"><a href="function.xmlwriter-open-memory.html" class="methodname" rel="rdfs-seeAlso">XMLWriter::openMemory()</a> - Create new xmlwriter using memory for string output</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.xmlwriter-open-memory.html">XMLWriter::openMemory</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.xmlwriter-output-memory.html">XMLWriter::outputMemory</a></div>
 <div class="up"><a href="ref.xmlwriter.html">XMLWriter 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
